//
//  JXCalendarModel.m
//  TestCollectionView
//
//  Created by Lemon on 2019/4/20.
//  Copyright © 2019 sunshinfight@163.com. All rights reserved.
//

#import "JXCalendarModel.h"
#import "NSCalendar+JXCoveniences.h"
#import <Foundation/Foundation.h>

@implementation JXCalendarModel
- (instancetype)init
{
    self = [super init];
    if (self) {
        _isSelected = NO;
    }
    return self;
}

- (nonnull id)copyWithZone:(nullable NSZone *)zone {
    JXCalendarModel *newValue = [self.class new];
    newValue.day = self.day;
    newValue.year = self.year;
    newValue.month = self.month;
    newValue.weekday = self.weekday;
    newValue.isToday = self.isToday;
    newValue.isSelected = self.isSelected;
    return newValue;
}

@end
